﻿using System;
namespace ElingOA6_DSJCJ.Model
{
    /// <summary>
    /// 文件上传（新）
    /// </summary>
    [Serializable]
    public partial class FTP_New
    {
        public FTP_New()
        { }
        #region Model
        private decimal _fid;
        private decimal? _fparentid;
        private string _fname;
        private string _fsuffixname;
        private string _ftype = "F";
        private decimal _fsize = 0M;
        private DateTime _fdate = DateTime.Now;
        private string _flogid;
        private string _fentityno;
        private string _fisupload = "N";
        private string _fisdownload = "N";
        /// <summary>
        /// id
        /// </summary>
        public decimal FID
        {
            set { _fid = value; }
            get { return _fid; }
        }
        /// <summary>
        /// 上级id
        /// </summary>
        public decimal? FParentID
        {
            set { _fparentid = value; }
            get { return _fparentid; }
        }
        /// <summary>
        /// 文件/目录名
        /// </summary>
        public string FName
        {
            set { _fname = value; }
            get { return _fname; }
        }
        /// <summary>
        /// 后缀名：
        ///对于目录来说，应填写NULL
        /// </summary>
        public string FSuffixName
        {
            set { _fsuffixname = value; }
            get { return _fsuffixname; }
        }
        /// <summary>
        /// 类型:
        ///D 目录
        ///F 文件
        /// </summary>
        public string FType
        {
            set { _ftype = value; }
            get { return _ftype; }
        }
        /// <summary>
        /// 字节大小：
        ///数据库保存字节大小，显示时需要转换成BYTE , KB，M或G
        /// </summary>
        public decimal FSize
        {
            set { _fsize = value; }
            get { return _fsize; }
        }
        /// <summary>
        /// 上传时间
        ///对文件夹来说，是创建时间
        /// </summary>
        public DateTime FDate
        {
            set { _fdate = value; }
            get { return _fdate; }
        }
        /// <summary>
        /// 用户编号
        /// </summary>
        public string FLogID
        {
            set { _flogid = value; }
            get { return _flogid; }
        }
        /// <summary>
        /// 公司编码
        /// </summary>
        public string FEntityNo
        {
            set { _fentityno = value; }
            get { return _fentityno; }
        }
        /// <summary>
        /// 允许县区上传
        ///县区上传后，不允许删除，只允许查看
        ///市局可以进行管理
        ///这个选项选中后，这个目录各县区只能看到自己上传的内容

        /// </summary>
        public string FIsUpload
        {
            set { _fisupload = value; }
            get { return _fisupload; }
        }
        /// <summary>
        /// 允许县区下载：
        ///表示该目录允许任何人查看，选中后，不允许选中“允许县区上传”
        ///这个选项选中后，各县区不能上传文件
        /// </summary>
        public string FIsDownload
        {
            set { _fisdownload = value; }
            get { return _fisdownload; }
        }

        /// <summary>
        /// 目录属性
        /// </summary>
        public string ftpStatus
        {
            set;
            get;
        }
        /// <summary>
        /// 上级目录
        /// </summary>
        public string strPreFTP
        {
            set;
            get;
        }
        //归档
        public string FIsArchive
        {

            set;
            get;
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string FUserName
        {
            set;
            get;
        }
        /// <summary>
        /// 没有后缀名的文件名
        /// </summary>
        public string strName
        {
            set;
            get;
        }
        /// <summary>
        /// 有单位的文件大小
        /// </summary>
        public string strSize
        {
            get;
            set;
        }

        public string FDeptNo
        {

            get;
            set;
        }
        public string FDeptName
        {

            get;
            set;
        }
        #endregion Model


    }
}

